import { createRouter, createWebHashHistory } from 'vue-router'
import type { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  {
    path: '/',
    name: 'Home',
    component: () => import('../views/Home.vue')
  },
  {
    path: '/tasks',
    name: 'Tasks',
    component: () => import('../views/PDFProcess.vue')
  },
  {
    path: '/chat',
    name: 'AIChat',
    component: () => import('../views/AIChat.vue')
  }
]

export const router = createRouter({
  history: createWebHashHistory(),
  routes
}) 